﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EzDesk.Generic
{
    public class GenericEventArg<T> : EventArgs
    {

        public static GenericEventArg<T> Create(T value)
        {
            return new GenericEventArg<T>(value);
        }


        private T _value;
        public T Value
        {
            get
            {
                return _value;
            }
            set
            {
                _value = value;
            }
        }

        public GenericEventArg(T arg)
        {
            _value = arg;
        }
    }
}
